/********************************************************************
    This program is based on the technique of tomato Francesco Cirillo
	http://www.pomodorotechnique.com timer is a software for this technique.

    Copyright (C) 2009  Massimo Di Giulio mailto:info@satimax.it mailto:digiulio.massimo@gmail.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.



********************************************************************/

#include "StdAfx.h"
#include "BreakContainer.h"

BreakContainer::BreakContainer(void)
{
	val = gcnew cliext::vector<IBreak^ >(); 
}
BreakContainer::~BreakContainer(void)
{
	for(int i=0;i<this->val->size();i++){
		delete this->val[i];
	}
	delete val;
}
/*
void BreakContainer::addElement(IBreak^ b)
{
	this->val->push_back(b);
}
IBreak^ BreakContainer::getElement(int i)
{
	return this->val[i];
}
int BreakContainer::count(void)
{
	return this->val->size();
}
void BreakContainer::clear(void)
{
	this->val->clear();
}
*/